﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MainCity.aspx.cs" Inherits="HNQXYJ.MainCity" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>河南省气象预警平台</title>
    <link href="CSS/style.css" rel="stylesheet" type="text/css" />   
    <script src="Scripts/jquery-1.5.1.js" type="text/javascript"></script>
    <script src="JS/iframeHeight.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(function () {

            $("#qq li.lefttbg").click(function () {
                $(this).next("li.leftlist").show("fast").siblings("li.leftlist").hide("fast");
                $(this).siblings("li.lefttbg").addClass("lefttbg2");
                $(this).removeClass("lefttbg2");
                //alert("nihao");
            });
            $("#qq li:first").click(); //模拟点击元素

            //横排主菜单点击事件
            $("#m1").mouseenter(function () {
                $(this).attr("src", "images/menu1.gif");
            }).mouseleave(function () {
                $(this).attr("src", "images/menu01.gif");
            }).click(function () {
                $("#qq li.lefttbg:eq(0)").click();
            });

            $("#m2").mouseenter(function () {
                $(this).attr("src", "images/menu2.gif");
            }).mouseleave(function () {
                $(this).attr("src", "images/menu02.gif");
            }).click(function () {
                $("#qq li.lefttbg:eq(1)").click();
            });

            $("#m3").mouseenter(function () {
                $(this).attr("src", "images/menu3.gif");
            }).mouseleave(function () {
                $(this).attr("src", "images/menu03.gif");
            }).click(function () {
                $("#qq li.lefttbg:eq(2)").click();
            });

            $("#m4").mouseenter(function () {
                $(this).attr("src", "images/menu4.gif");
            }).mouseleave(function () {
                $(this).attr("src", "images/menu04.gif");
            }).click(function () {
                $("#qq li.lefttbg:eq(3)").click();
            });

        });

        //关闭浏览器
        function winClose() {
            window.open('', '_self');
            window.opener = null;
            window.close();
        } 
    </script>
</head >
<body bgcolor="#FFFFFF" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <form id="form1" runat="server">
    <table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr>
            <td align="left">
                <img src="images/hnlogo.gif" height="110" alt="">
            </td>
            <td valign="bottom" align="right">
                <table border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="menubg">
                            <img id="m1" src="images/menu01.gif" />
                        </td>
                        <td width="10">
                        </td>
                        <td class="menubg">
                            <img id="m2" src="images/menu02.gif" />
                        </td>
                        <td width="10">
                        </td>
                        <td class="menubg">
                            <img id="m3" src="images/menu03.gif" />
                        </td>
                        <td width="10">
                        </td>
                        <td class="menubg">
                            <img id="m4" src="images/menu04.gif" />
                        </td>
                        <td width="10">
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="tsbbg">
        <tr>
            <td class="white14 ts_left">
                登录用户：<span><%=Session["username"] %></span> <%=DateTime.Now.ToLongDateString().ToString() %>  <%=Week() %>
            </td>
            <td class="white14 ts_right">
                <span style="margin-right: 57px;"><a  href="HN_User/UserShowDetails.aspx" target="win">用户资料</a></span><span style="margin-right: 55px;"><a href="HN_User/UserUpdatePwdByUserName.aspx" target="win">修改密码</a></span><span><a  href='BLL/Login.ashx?name="exit" ' onclick="winClose()"> 退出</a></span>
            </td>
        </tr>
    </table>
    <table width="100%" border="0" cellpadding="0" cellspacing="0" style="margin-top: 8px;">
        <tr>
            <td valign="top" width="17">
                <img src="images/leftt.gif" />
            </td>
            <td width="237" valign="top" bgcolor="#FFFFFF">
            
                <div id="leftFrame" style=" border:0;"  >
                 <ul id="qq">
                   <li class="lefttbg">信息发送</li>
                   <li  class="leftlist">
                        <ul>
                             <li><a href="HN_Map/HNCITY_Map.aspx"  target="win" >GPRS信息发送</a></li>   
                            <%-- <li><a href="GPRS/JS_SendMsgToAll.aspx" target="win"> GPRS信息群发</a></li>   --%>                           
                             <li><a href="HN_DATA/DataStatistics.aspx" target="win"> 数据统计</a></li> 
                             <li><a href="HN_DATA/StartListen.aspx" target="win"> 启动监听</a></li>
                        </ul>                  
                   </li>
                   <li class="lefttbg"> 数据中心</li>
                   <li  class="leftlist">
                        <ul>
                             <li><a href="HN_Terminal/TerminalMgrPC.aspx" target="win">终端列表</a></li>
                             <li><a href="HN_User/UserMgrRankLevel.aspx"target="win">用户管理</a></li>
                        </ul>                   
                   </li>
                   <li class="lefttbg"> 日志记录</li>
                   <li  class="leftlist">
                        <ul> 
                             <li><a href="HN_History/HistoryMgr.aspx" target="win">历史信息</a></li>                           
                        </ul>                   
                   </li>
                     <li class="lefttbg">系统配置</li>
                   <li  class="leftlist">
                        <ul>
                             <li><a href="DataCenterJS/SysConfigGetData.aspx" target="win">系统配置</a></li>                              
                        </ul>                   
                   </li>
                 </ul>
          </div>
                
            </td>
            <td valign="top" style="padding-right: 10px">
            <div id="rightIframe"  >
            <iframe width="100%" height="580" align="center" id="win" name="win" onload="Javascript:SetWinHeight(this)" frameborder="0" scrolling="no" src="HN_Map/HNCITY_Map.aspx">
            
            </iframe> 
             </div>
            </td>           
        </tr>
    </table>

    </form>
</body>
</html>
